package rs.udd.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import rs.udd.model.Advertiser;
import rs.udd.model.Agent;
import rs.udd.model.Link;

public interface LinkRepository extends JpaRepository<Link, Long>{
	
	public Link findByAdvertiser(Advertiser advertiser);
	
	public Link findByAgent(Agent agent);
	
	public Link findByRandomString(String randomString);

}
